import turtle

a = ('red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'red', 'orange', 'yellow', 'red', 'orange', 'yellow',
     'green', 'cyan', 'red', 'orange', 'yellow', 'green')
turtle.pensize(5)
turtle.left(90)
for i in range(len(a)):
    turtle.pencolor(a[i])
    turtle.circle((i + 1) * 5 + 80, 180)
    turtle.penup()
    turtle.goto((i + 1) * 5, 0)
    turtle.pendown()
    turtle.left(180)
turtle.done()
